package com.wdl.web.service;

import com.wdl.web.dao.UserMapper;
import com.wdl.web.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by wdl on 2016/11/10.
 */
@Service
public class UserService {
    @Autowired
    private UserMapper dao;

    public List<User> getUsers() {
        return dao.getAllUsers();
    }
}
